#ifndef EXPSAMPLELISTFRAME_H
#define EXPSAMPLELISTFRAME_H

#include <QFrame>
#include<QTableWidgetItem>

#include "experiment.h"
namespace Ui {
class ExpSampleListFrame;
}

class ExpFrame;
class ExpSampleListFrame : public QFrame
{
    Q_OBJECT
    
public:
    explicit ExpSampleListFrame(QWidget *parent = 0,Experiment* pExperiment=NULL);
    ~ExpSampleListFrame();
    
    void LoadData();

signals:
    void SIG_DataChanged();
    void SIG_SaveClicked();
private slots:
    void on_pushButton_Add_clicked();

    void on_pushButton_Del_clicked();

    void on_pushButton_Input_clicked();

    void on_pushButton_Save_clicked();

    void on_pushButton_AddToSeq_clicked();

    void on_tableWidget_itemChanged(QTableWidgetItem *item);

private:
    Ui::ExpSampleListFrame *ui;
    ExpFrame *pExpFrame;//
    Experiment* pExperiment;
    ExpSample *pExpSample;
};

#endif // EXPSAMPLELISTFRAME_H
